package vin.pth.authorization.enums;

import lombok.Getter;
import lombok.RequiredArgsConstructor;

/**
 * @author Cocoon
 */
@Getter
@RequiredArgsConstructor
public enum AuthorizationErrorCode {

  /**
   * 认证失败。
   */
  AUTHENTICATION_FAILED(401001, "认证失败"),
  UNKNOWN_CREDENTIALS(401002, "未知的凭证");
  private final int code;
  private final String message;

}
